
@import 'common/minxincommon';

.p-window{
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,.3);
    z-index: 999;
}    


//3.7 添加品类
.win-category #container-other{
    position: relative;
    height: 100%;
}
.category-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 1000px;
    height: 600px;
    background: #fff;
    @include borradius;
    padding:20px;
    color: #333333;
    h4{
        font-size: 16px;
        color: #333333;
    }
    .btn-close{
        top: 20px;
        right: 20px;
    }
    .category{
        //单选按钮
        .radio-wrap{
            width: 100%;
            height: 100%;
            font-size: 0;
            label{
                display: inline-block;
                width: 142px;
                font-size: 14px;
                padding-left: 10px;
                vertical-align: middle;
                cursor: pointer;
            }
        }
        .radio-wrap:hover {
            .border {
                border-color: #20a0ff;
            }
        }
        .radio_btn {
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            font-size: 0;
            background: transparent;
            cursor: pointer;
            input {
                position: relative;
                width: 100%;
                height: 100%;
                z-index: 99;
                opacity: 0;
                cursor: pointer;
            }
            span {
                display: inline-block;
                border-radius: 50%;
                -webkit-transition: .3s all;
                -moz-transition: .3s all;
                -ms-transition: .3s all;
                -o-transition: .3s all;
                transition: .3s all;
                transition: .3s all;
            }
            .center {
                position: absolute;
                top: 4px;
                left: 4px;
                width: 8px;
                height: 8px;
            }
            .border {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 1px solid #999999;
            }
            input[type="radio"]:checked+.center {
                background-color: #20a0ff;
            }
            input[type="radio"]:checked~.border {
                border-color: #20a0ff;
            }
        }
        //多选按钮
        .check-wrap{
            display: block;
            .check{
                margin-right:10px;
            }
        }
    }   
    .search-wrap{
        width: 100%;
        margin:30px 0 20px;
        input{
            width: 100%;
            height: 40px;
            border: 1px solid #cccccc;
            padding:0 10px;
            @include borradius;
        }   
    } 
    .selectlist{
        &>div{
            height: 400px;
            border: 1px solid #cccccc;
            @include borradius;
            overflow: auto;
        }
        ul{
            width: 100%;
            min-height: 100%;
            padding:0 20px;
            overflow: auto;
        }
        li{
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #cccccc;
        }
    }
    .first{
        width: 200px;
    }
    .second{
        width: 220px;
        margin:0 10px;
    }
    .third{
        width: 520px;
        padding:0 20px;
        &>div{
            width: 100%;
            font-size: 14px;
            border-bottom:1px solid #cccccc; 
        }
        p{
            color: #666666;
            margin:20px 0 10px;
        }
        .check-wrap{
            display: inline-block;
            float: left;
            height: 32px;
            line-height: 30px;
            margin-right: 20px;
            .check{
                vertical-align: -2px;
            }
        }
    }
    .btn-list{
        margin-top: 18px;
        text-align: right;
        font-size: 0;
        button{
            width: 72px;
            height: 36px;
            border:1px solid #CCCCCC;
            @include borradius;
            font-size: 14px;
            color: #cccccc;
        }
        .btn-re{
            background: transparent;
            &:hover{
                color: $color-active;
                border-color: $color-active;
            }
        }
        .btn-conf{
            background: #eeeeee;
            margin-left: 20px;
        }
        .btn-conf.active{
            color: #fff;
            border: none;
            background: $color-active;
            &:hover{
                background:$hovercolor;
            }
        }
    }
}